import axios from './axiosFun';


//获取所有订单列表
export const getListOrder = (param,params) => {return axios.post("/order/getList?userId="+param,params)}

//根据订单完整id获取订单信息
export const getOrder = (param) => {return axios.get("/order/getOne?orderId="+param)}

//根据订单完整id更新订单状态
export const updateStatus = (param1,param2) => {return axios.get("/order/updateStatus?orderId="+param1+"&status="+param2)}

//根据订单完整id获取订单信息
export const deleteOrder = (param) => {return axios.get("/order/deleteOrder?orderId="+param)}